#ifndef _sched_
#define _sched_

int NoProcesses(void);
int Idle(int argc, char* argv[]);
void SaveESP (int);
//void SaveOrigESP(void);
void* GetTemporaryESP (void);
PROCESS* GetNextProcess (void);
int LoadESP(PROCESS*);
void Cleaner(void);

void SetupScheduler(void);
void setSched(int sched);
PROCESS* lottery(void);
PROCESS* schedWithPriority(void);

int newStack(PROCESS * proc);
void labEBP(int * in, int * out, int offset, int old_ind);


#endif
